package com.etc.dao;

import java.util.List;

import com.etc.entity.Announcement;


public interface AnnouncementDao{
	/**查询全部的公告信息*/
	List<Announcement> listAnnouncement();
	/**添加公告信息*/
	int addAnnouncement(Announcement announcement);
	/**删除公告信息*/
	int deleteAnnouncement(long id);
     //*修改公共信息*/
	int modifyAnnouncement(Announcement announcement);
	/**加载用户*/
	Announcement loadannouncement(long id);
	
	Long countAll();
}